package com.example.aninterface;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ListView;

import java.util.ArrayList;
import java.util.List;

public class MainActivity extends AppCompatActivity {

    private List<WeChat> weChatList = new ArrayList<>();

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_me);
        /*initWeChats();
        WeChatAdapter adapter = new WeChatAdapter(MainActivity.this,R.layout.wechat_item,weChatList);
        ListView listView  = (ListView)findViewById(R.id.list_view);
        listView.setAdapter(adapter);*/
    }

    /*private void initWeChats() {
            WeChat touxiang = new WeChat("开开",R.drawable.touxiang);
            weChatList.add(touxiang);
            WeChat shoucang = new WeChat("收藏",R.drawable.shoucang);
            weChatList.add(shoucang);
            WeChat xiangce = new WeChat("相册",R.drawable.xiangce);
            weChatList.add(xiangce);
            WeChat kabao = new WeChat("卡包",R.drawable.kabao);
            weChatList.add(kabao);
            WeChat biaoqing = new WeChat("表情",R.drawable.biaoqing);
            weChatList.add(biaoqing);
            WeChat zhifu = new WeChat("设置",R.drawable.zhifu);
            weChatList.add(zhifu);

    }*/
}
